--------------------------------------------------------
--  DDL for Trigger PROJECT_SPLITS_COMBINES_PK_TRG
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "PROJECT_SPLITS_COMBINES_PK_TRG" 
  BEFORE INSERT ON "PROJECT_SPLITS_COMBINES"
  REFERENCING FOR EACH ROW
  begin  
   if inserting then 
      if :NEW."PSCID" is null then 
         select PROJECT_SPLITS_COMBINES_SEQ.nextval into :NEW."PSCID" from dual; 
      end if; 
   end if; 
end;
ALTER TRIGGER "PROJECT_SPLITS_COMBINES_PK_TRG" ENABLE
